<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>注册</title>
<style>
    body{font-family:Arial,Helvetica,sans-serif;background:#f7f7f7}
    .box{width:300px;margin:80px auto;padding:30px;background:#fff;border-radius:6px;box-shadow:0 0 8px rgba(0,0,0,.1)}
    input[type=text],input[type=password],input[type=email]{width:100%;padding:8px;margin:8px 0 16px;border:1px solid #ccc;border-radius:4px}
    button{width:100%;padding:10px;background:#28a745;color:#fff;border:0;border-radius:4px;cursor:pointer}
    a{color:#007bff;text-decoration:none;font-size:14px}
</style>
</head>
<body>
<div class="box">
    <h2>用户注册</h2>
    <form action="#" method="post">
        <input type="text"     name="user"  placeholder="用户名" required>
        <input type="email"    name="email" placeholder="邮箱"   required>
        <input type="password" name="pwd"   placeholder="密码"   required>
        <button type="submit">注册</button>
    </form>
    <p>已有账号？<a href="login.html">立即登录</a></p>
    <p><a href="index.html">返回首页</a></p>
</div>
</body>
</html>